import Vue from 'vue'
const baseUrl = 'http://api.leyou.com'
const config = {
  locale: 'zh-CN', // en-US, zh-CN
  url: baseUrl,
  debug: {
    http: false // http request log
  },
  api: `${baseUrl}/api`,
  theme:{
    primary: "#2196F3",
    secondary: "#455A64",
    accent: "#9c27b0",
    error: "#f44336",
    warning: "#FFC107",
    info: "#64B5F6",
    success: "#4caf50"
  },
  isDark:true,
  unitOption:[
    { header: '长度' },
    { value: 'mm'},
    { value: 'cm'},
    { value: 'dm'},
    { value: 'm'},
    { value: '寸'},
    { value: '英寸'},
    { value: '尺'},
    { divider: true },
    { header: '重量' },
    { value: 'mg'},
    { value: 'g'},
    { value: 'kg'},
    { value: 't'},
    { divider: true },
    { header: '像素' },
    { value: '万像素'},
    { divider: true },
    { header: '频率' },
    { value: 'Hz'},
    { value: 'mHz'},
    { value: 'gHz'},
    { divider: true },
    { header: '存储' },
    { value: 'KB'},
    { value: 'MB'},
    { value: 'GB'},
    { divider: true },
    { header: '电压' },
    { value: 'V'},
    { value: 'KV'},
    { divider: true },
    { header: '电池容量' },
    { value: 'mAh'},
    { divider: true },
    { header: '功率' },
    { value: 'w'},
    { value: 'Kw'},
    { divider: true },
    { header: '电流' },
    { value: 'μA'},
    { value: 'mA'},
    { value: 'A'},
    { divider: true },
    { header: '电阻' },
    { value: 'Ω'},
    { value: 'KΩ'},
    { value: 'A'},
    { divider: true },
  ],
  gender:['男','女'],
  headerHeight:100,
  BreadHeight:50,
  menuWidth:200,
  fileTypes:[
    {value:'avi',label:'avi'}, {value:'flv',label:'flv'}, {value:'mkv',label:'mkv'}, {value:'mp4',label:'mp4'}, {value:'mpeg',label:'mpeg'}, {value:'mpg',label:'mpg'},
    {value:'mov',label:'mov'}, {value:'mp3',label:'mp3'}, {value:'wav',label:'wav'}, {value:'wma',label:'wma'}, {value:'mid',label:'mid'}, {value:'mp4a',label:'mp4a'},
    {value:'ogg',label:'ogg'}, {value:'gif',label:'gif'}, {value:'jpeg',label:'jpeg'}, {value:'png',label:'png'}, {value:'jpg',label:'jpg'},{value:'bmp',label:'bmp'},
    {value:'tif',label:'tif'}, {value:'tiff',label:'tiff'}, {value:'txt',label:'txt'}, {value:'ceb',label:'ceb'}, {value:'pdf',label:'pdf'}, {value:'doc',label:'doc'},
    {value:'docx',label:'docx'}, {value:'wps',label:'wps'}, {value:'ppt',label:'ppt'}, {value:'pptx',label:'pptx'}, {value:'xls',label:'xls'}, {value:'xlsx',label:'xlsx'},
    {value:'csv',label:'csv'}, {value:'vsd',label:'vsd'}, {value:'vsdx',label:'vsdx'}, {value:'rar',label:'rar'}, {value:'tar',label:'tar'},{value:'zip',label:'zip'},
    {value:'7z',label:'7z'}, {value:'eml',label:'eml'}
  ]

}

Vue.prototype.$config= config;
